// 统一管理所有API
import request from '@/utils/backend'

// 新建优惠券
export const CreateDiscount = (params) => request.post(`/discounts`, params)
// 查看优惠券
export const GetDiscount = () => request.get(`/discounts/1`)
// 删除优惠券